package com.xc.pay.weixin.modal;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;

/**
 * Filename: WxH5Modal.java <br>
 * <p>
 * Description: 微信h5支付参数实体类<br>
 *
 * @author: rongrong <br>
 * @version: 1.0 <br>
 * @Createtime: 2019-12-05 <br>
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ---------------------------------------------------------*
 * 2019-12-05       rongrong            v1.0              第一次创建
 * @Copyright: Copyright (c)2019 by rongrong <br>
 */
@Data
@ToString
public class WxH5Modal {

    /**
     * 应用appid
     */
    @Value("${wx-pay.h5-param.appId}")
    private String appId;
    /**
     * 应用appSecret
     */
    @Value("${wx-pay.h5-param.appId}")
    private String appSecret;
    /**
     * 商户key
     */
    @Value("${wx-pay.h5-param.security}")
    private String security;
    /**
     * 商户号
     */
    @Value("${wx-pay.h5-param.mchId}")
    private String mchId;
    /**
     * 回调地址
     */
    @Value("${wx-pay.h5-param.notify_url}")
    private String notify_url;
    /**
     * 商品描述
     */
    private String body;
    /**
     * 订单号
     */
    private String out_trade_no;
    /**
     * 订单金额 单位(元)
     */
    private String total_fee;
    /**
     * 附加数据
     */
    private String attach = "";
    /**
     * 场景信息中网站地址
     */
    private String wap_url;
    /**
     * 场景信息中网站名称
     */
    private String wap_name;

}
